package com.cjw.pojo.entity.livesquare;

import com.cjw.pojo.entity.database.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;

/**
 * @create_time: 2021.11.15
 * @author : cjw
 * @descipe: 生活分享与用户联系记录
 */
@Data
@ToString(callSuper = true)
@Table(name = "live_user")
@EqualsAndHashCode(callSuper = true)
@ApiModel("生活分享与用户联系记录")
public class LiveUser extends BaseEntity {
    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("生活分享id")
    private Long liveId;

    @ApiModelProperty(name = "联系", notes = "1:点赞 2:收藏")
    private Integer type;
}
